
<%@ page import="playitas.Playas" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'playas.label', default: 'Playas')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.accMinusvalidos.label" default="Acc Minusvalidos" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${playasInstance?.accMinusvalidos}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.caracteristicas.label" default="Caracteristicas" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "caracteristicas")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.chiringuito.label" default="Chiringuito" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${playasInstance?.chiringuito}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.latitud.label" default="Latitud" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "latitud")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.longitud.label" default="Longitud" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "longitud")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.nombre.label" default="Nombre" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "nombre")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.nudista.label" default="Nudista" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${playasInstance?.nudista}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.parking.label" default="Parking" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${playasInstance?.parking}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.tipo.label" default="Tipo" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "tipo")}</td>
                            
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="playas.distancia.label" default="Distancia" /></td>

                            <td valign="top" class="value">${fieldValue(bean: playasInstance, field: "distancia")}</td>

                        </tr>
                        <tr class="prop">
                            <td valign="top" colspan="2">
                               <a href="http://maps.google.es/maps?f=q&source=s_q&hl=es&geocode=&q=${playasInstance.latitud},${playasInstance.longitud}">
                              <g:message code="playas.enlace.label" default="Verlo en un mapa" /></a></td>

                        </tr>

                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${playasInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
